<template>
    <van-button type="info" color="#0f57d5" :disabled="user" size="large" @click="handleSubmit">
        <slot></slot>
    </van-button>
</template>

<script>
    export default {
        name: "isBtn",
        methods: {
            handleSubmit() {
                this.$emit('handleSubmit')
            }
        },
        props: ['user']
    }
</script>

<style scoped>

</style>